
import lucene.server.client.ClientWrapper;
import lucene.server.client.QueryClient;

public class MainSercherCreateBy {
    //创建客户端
    static QueryClient queryClient = new QueryClient("http://localhost:9999","client","client");
    public static void main(String[] args) {

        ClientWrapper clientWrapper = ClientWrapper.create()
                .SELECT("create_by")
                .From("supervision")
                .eq("create_by","微博");
        String str = queryClient.request(clientWrapper);
        System.out.println("=======原来========"+ clientWrapper.build());
        System.out.println(JsonUtil.formatJson(str));
    }
}